package com.neutech.entity;

import com.mybatisflex.annotation.Table;
import com.neutech.core.BaseEntity;
import java.io.Serializable;

import java.io.Serial;
import java.math.BigDecimal;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.EqualsAndHashCode;

/**
 * 作业提交表 实体类。
 *
 * @author Administrator
 * @since 2025-06-19
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(description = "作业提交表")
@Table("home_work_commit")
public class HomeWorkCommit extends BaseEntity implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 班级id
     */
    @Schema(description = "班级id", type = "Integer")
    private Integer gradeId;

    /**
     * 学生id
     */
    @Schema(description = "学生id", type = "Integer")
    private Integer studentId;

    /**
     * 作业id
     */
    @Schema(description = "作业id", type = "Integer")
    private Integer homeWorkId;

    /**
     * 文件路径
     */
    @Schema(description = "文件路径", type = "String")
    private String path;

    /**
     * 文字内容
     */
    @Schema(description = "文字内容", type = "String")
    private String content;

    /**
     * 文件总时长
     */
    @Schema(description = "文件总时长", type = "Integer")
    private BigDecimal total;

    /**
     * 有声音的时长
     */
    @Schema(description = "有声音的时长", type = "Integer")
    private BigDecimal val;

}
